package com.xgure.properties;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "mi.jwt")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class JwtProperties {

    private String secret;
    private Long expireTime;
    private String header;

}
